package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="THR_CanvassApplyItem", catalog="Id")
public class ThrCanvassApplyItem extends BaseEntity<ThrCanvassApplyItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Vgsmc", nameJava="vgsmc", typeDataBase="varchar")
	private String vgsmc;
	@YsField(nameDataBase="Vgsjc", nameJava="vgsjc", typeDataBase="varchar")
	private String vgsjc;
	@YsField(nameDataBase="InvestType", nameJava="investType", typeDataBase="tinyint")
	private Integer investType;
	@YsField(nameDataBase="CostStandard", nameJava="costStandard", typeDataBase="varchar")
	private String costStandard;
	@YsField(nameDataBase="CostTelephone", nameJava="costTelephone", typeDataBase="varchar")
	private String costTelephone;
	@YsField(nameDataBase="Corporation", nameJava="corporation", typeDataBase="varchar")
	private String corporation;
	@YsField(nameDataBase="InstitutionId", nameJava="institutionId", typeDataBase="bigint")
	private Long institutionId;
	@YsField(nameDataBase="SiteId", nameJava="siteId", typeDataBase="bigint")
	private Long siteId;
	@YsField(nameDataBase="PlatformManager", nameJava="platformManager", typeDataBase="varchar")
	private String platformManager;
	@YsField(nameDataBase="RegistrationRequire", nameJava="registrationRequire", typeDataBase="varchar")
	private String registrationRequire;
	@YsField(nameDataBase="Attributes", nameJava="attributes", typeDataBase="tinyint")
	private Integer attributes;
	@YsField(nameDataBase="VgsSh", nameJava="vgsSh", typeDataBase="varchar")
	private String vgsSh;
	@YsField(nameDataBase="VgsFrId", nameJava="vgsFrId", typeDataBase="varchar")
	private String vgsFrId;
	@YsField(nameDataBase="AccountName", nameJava="accountName", typeDataBase="varchar")
	private String accountName;
	@YsField(nameDataBase="OpeningBank", nameJava="openingBank", typeDataBase="varchar")
	private String openingBank;
	@YsField(nameDataBase="BankAccount", nameJava="bankAccount", typeDataBase="varchar")
	private String bankAccount;
	@YsField(nameDataBase="LinCode", nameJava="linCode", typeDataBase="varchar")
	private String linCode;
	@YsField(nameDataBase="Businesslicense", nameJava="businesslicense", typeDataBase="varchar")
	private String businesslicense;
	@YsField(nameDataBase="CooperateAgreement", nameJava="cooperateAgreement", typeDataBase="varchar")
	private String cooperateAgreement;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ThrCanvassApplyItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public ThrCanvassApplyItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public ThrCanvassApplyItem setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVgsmc() {
		return vgsmc;
	}
	public ThrCanvassApplyItem setVgsmc(String vgsmc) {
		this.vgsmc = vgsmc;
		return this;
	}
	public String getVgsjc() {
		return vgsjc;
	}
	public ThrCanvassApplyItem setVgsjc(String vgsjc) {
		this.vgsjc = vgsjc;
		return this;
	}
	public Integer getInvestType() {
		return investType;
	}
	public ThrCanvassApplyItem setInvestType(Integer investType) {
		this.investType = investType;
		return this;
	}
	public String getCostStandard() {
		return costStandard;
	}
	public ThrCanvassApplyItem setCostStandard(String costStandard) {
		this.costStandard = costStandard;
		return this;
	}
	public String getCostTelephone() {
		return costTelephone;
	}
	public ThrCanvassApplyItem setCostTelephone(String costTelephone) {
		this.costTelephone = costTelephone;
		return this;
	}
	public String getCorporation() {
		return corporation;
	}
	public ThrCanvassApplyItem setCorporation(String corporation) {
		this.corporation = corporation;
		return this;
	}
	public Long getInstitutionId() {
		return institutionId;
	}
	public ThrCanvassApplyItem setInstitutionId(Long institutionId) {
		this.institutionId = institutionId;
		return this;
	}
	public Long getSiteId() {
		return siteId;
	}
	public ThrCanvassApplyItem setSiteId(Long siteId) {
		this.siteId = siteId;
		return this;
	}
	public String getPlatformManager() {
		return platformManager;
	}
	public ThrCanvassApplyItem setPlatformManager(String platformManager) {
		this.platformManager = platformManager;
		return this;
	}
	public String getRegistrationRequire() {
		return registrationRequire;
	}
	public ThrCanvassApplyItem setRegistrationRequire(String registrationRequire) {
		this.registrationRequire = registrationRequire;
		return this;
	}
	public Integer getAttributes() {
		return attributes;
	}
	public ThrCanvassApplyItem setAttributes(Integer attributes) {
		this.attributes = attributes;
		return this;
	}
	public String getVgsSh() {
		return vgsSh;
	}
	public ThrCanvassApplyItem setVgsSh(String vgsSh) {
		this.vgsSh = vgsSh;
		return this;
	}
	public String getVgsFrId() {
		return vgsFrId;
	}
	public ThrCanvassApplyItem setVgsFrId(String vgsFrId) {
		this.vgsFrId = vgsFrId;
		return this;
	}
	public String getAccountName() {
		return accountName;
	}
	public ThrCanvassApplyItem setAccountName(String accountName) {
		this.accountName = accountName;
		return this;
	}
	public String getOpeningBank() {
		return openingBank;
	}
	public ThrCanvassApplyItem setOpeningBank(String openingBank) {
		this.openingBank = openingBank;
		return this;
	}
	public String getBankAccount() {
		return bankAccount;
	}
	public ThrCanvassApplyItem setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
		return this;
	}
	public String getLinCode() {
		return linCode;
	}
	public ThrCanvassApplyItem setLinCode(String linCode) {
		this.linCode = linCode;
		return this;
	}
	public String getBusinesslicense() {
		return businesslicense;
	}
	public ThrCanvassApplyItem setBusinesslicense(String businesslicense) {
		this.businesslicense = businesslicense;
		return this;
	}
	public String getCooperateAgreement() {
		return cooperateAgreement;
	}
	public ThrCanvassApplyItem setCooperateAgreement(String cooperateAgreement) {
		this.cooperateAgreement = cooperateAgreement;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ThrCanvassApplyItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ThrCanvassApplyItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ThrCanvassApplyItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ThrCanvassApplyItem thrCanvassApplyItem(
		String pbid,
		String vgsbm,
		String vgsmc,
		String vgsjc,
		Integer investType,
		String costStandard,
		String costTelephone,
		String corporation,
		Long institutionId,
		Long siteId,
		String platformManager,
		String registrationRequire,
		Integer attributes,
		String vgsSh,
		String vgsFrId,
		String accountName,
		String openingBank,
		String bankAccount,
		String linCode,
		String businesslicense,
		String cooperateAgreement,
		Integer status
			) {
		ThrCanvassApplyItem entity = new ThrCanvassApplyItem();
		entity.setPbid(pbid);
		entity.setVgsbm(vgsbm);
		entity.setVgsmc(vgsmc);
		entity.setVgsjc(vgsjc);
		entity.setInvestType(investType);
		entity.setCostStandard(costStandard);
		entity.setCostTelephone(costTelephone);
		entity.setCorporation(corporation);
		entity.setInstitutionId(institutionId);
		entity.setSiteId(siteId);
		entity.setPlatformManager(platformManager);
		entity.setRegistrationRequire(registrationRequire);
		entity.setAttributes(attributes);
		entity.setVgsSh(vgsSh);
		entity.setVgsFrId(vgsFrId);
		entity.setAccountName(accountName);
		entity.setOpeningBank(openingBank);
		entity.setBankAccount(bankAccount);
		entity.setLinCode(linCode);
		entity.setBusinesslicense(businesslicense);
		entity.setCooperateAgreement(cooperateAgreement);
		entity.setStatus(status);
		return entity;
	}
}